import axios from 'axios';

export async function openCamera(params?: object) {
	axios.post('/api/capture', params);
}

export async function openSign(params?: object) {
	axios.post('/api/sign', params);
}

export async function openHardBox(params?: object) {
	axios.post('/api/cabinet', params);
}

export async function rfidPrint(params?: object) {
  return	axios.post('/api/print', params);
}

export async function writeRfid(params?: object) {
  return axios.post('/api/writeepc', params);
}
